function [ ret ] = in_array( array, value )

    result = length(find(array==value));
    ret = result > 0;
end

